--################################ DON'T EDIT THIS FILE YOU CAN MAKE CHANGES IS THE GAME!!!!!!!!!!!!!
CreateClientConVar("cl_gate_nuke_sunbeams",1,true,false)
CreateClientConVar("cl_gate_nuke_rings",1,true,false)
CreateClientConVar("cl_gate_nuke_shieldrings",1,true,false)
CreateClientConVar("cl_gate_nuke_dynlights",0,true,false)
CreateClientConVar("cl_gate_nuke_plasma",1,true,false)
CreateClientConVar("cl_overloader_refract",1,true,false)
CreateClientConVar("cl_overloader_particle",1,true,false)
CreateClientConVar("cl_overloader_dynlights",0,true,false)
CreateClientConVar("cl_dakara_rings",1,true,false)
CreateClientConVar("cl_dakara_refract",1,true,false)
CreateClientConVar("cl_oribeam_particle",1,true,false)
CreateClientConVar("cl_oribeam_refract",1,true,false)
CreateClientConVar("cl_oribeam_dynlights",0,true,false)

local function Stargate_ExtraConfigPanel(Panel)
	-- Naquadah Bomb
	Panel:Help("Naquadah Bomb")
	Panel:CheckBox("SunBeams", "cl_gate_nuke_sunbeams"):SetToolTip("Requires SM v2, Fps Drop: High")
	Panel:CheckBox("Particle rings", "cl_gate_nuke_rings"):SetToolTip("Fps Drop: High")
	Panel:CheckBox("Shielded Particles", "cl_gate_nuke_shieldrings"):SetToolTip("Cpu tax: High, Prevents particles from spawning in shield")
	Panel:CheckBox("Plasma", "cl_gate_nuke_plasma"):SetToolTip("Fps Drop: Low, This effects the one below.")
	Panel:CheckBox("Plasma Dynamic Lighting", "cl_gate_nuke_dynlights"):SetToolTip("Fps Drop: Medium, This one is effected by the one above")
	-- Stargate Overloader
	Panel:Help("Stargate Overloader")
	Panel:CheckBox("Refraction Ring Pulse", "cl_overloader_refract"):SetToolTip("Fps Drop: Medium")
	Panel:CheckBox("Particle rings", "cl_overloader_particle"):SetToolTip("Fps Drop: Medium")
	Panel:CheckBox("Dynamic Lights", "cl_overloader_dynlights"):SetToolTip("Fps Drop: High")
	-- Dakara Super Weapon
	Panel:Help("Dakara Super Weapon")
	Panel:CheckBox("Charge up rings", "cl_dakara_rings"):SetToolTip("Fps Drop: Low")
	Panel:CheckBox("Refraction spheres", "cl_dakara_refract"):SetToolTip("Fps Drop: Medium")
	-- Ori Beam Weapon
	Panel:Help("Ori Beam Weapon")
	Panel:CheckBox("Particle Trail", "cl_oribeam_particle"):SetToolTip("Fps Drop: Low")
	Panel:CheckBox("Refraction Trail", "cl_oribeam_refract"):SetToolTip("Fps Drop: Medium")
	Panel:CheckBox("Dynamic lights", "cl_oribeam_dynlights"):SetToolTip("Fps Drop: High")
end

hook.Add("AddToolMenuTabs","Stargate.Hook.AddExtraTabs",
	function()
		spawnmenu.AddToolMenuOption("Stargate","Config","Extra Config"," Extra Config","","",Stargate_ExtraConfigPanel)
	end
)